You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <allredirects>
      <r fromid="2385" ns="0" title="Bronson Yung" />
      <r fromid="2438" ns="0" title="CSI Adelaide: Was Trayvon Martin murdered?" />
      <r fromid="1407" ns="0" title="Cipher Cracking 2009" />
      <r fromid="4063" ns="0" title="Cracking the Voynich Code 2015 - Final Report" />
      <r fromid="2444" ns="0" title="Junk" />
    </allredirects>
  </query>
</api>